﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XYS.Service.Core.Models
{
    /// <summary>
    /// 对象存储配置
    /// </summary>
    public class OSSSetting
    {
        /// <summary>
        /// 对象存储名称
        /// </summary>
        public string OSSName { get; set; }

        /// <summary>
        /// 对象存储类型
        /// </summary>
        public string OSSType { get; set; } = "aliyun";

        /// <summary>
        /// 是否 启用
        /// </summary>
        public bool Enable { get; set; }

        /// <summary>
        /// 节点地址
        /// </summary>
        public string Endpoint { get; set; }
        /// <summary>
        /// 身份令牌
        /// </summary>
        public string AccessKey { get; set; }
        /// <summary>
        /// 私钥
        /// </summary>
        public string SecretKey { get; set; }
    }
}
